package com.littleken.service.impl;

import com.littleken.dao.UserDao;
import com.littleken.dao.impl.UserDaoImpl;
import com.littleken.entity.User;
import com.littleken.service.UserService;

import java.util.List;

public class UserServiceImpl implements UserService {
    UserDao dao = new UserDaoImpl();
    @Override
    public User checkUser(User user) {
        return dao.checkUser(user);
    }

    @Override
    public List<User> getAllUser() {
        return dao.getAllUser();
    }
}
